﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Volo.Abp.Domain.Entities.Auditing;

namespace Juli.Mes.Customers
{
    [Table("Customers")]
    public class Customer : FullAuditedEntity<Guid>
    {
        [MaxLength(MesConsts.MaxNameLength)]
        public string CustomerName { get; set; }

        [MaxLength(MesConsts.MaxNameLength*2)]
        public string Location { get; set; }

        [MaxLength(MesConsts.MaxShortStrLength)]
        public string Province { get; set; }

        [MaxLength(MesConsts.MaxShortStrLength)]
        public string City { get; set; }
    }
}
